<?php $tpl->addCSS('css/contact.css'); ?>

<h2><?php echo $heading_title; ?></h2>
<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
  <div id="contact">
    <div class="a"> 
      <div class="b">
        <table>
          <tr>
            <td align="right" valign="top"><b><?php echo $text_address; ?></b></td>
            <td><?php echo $store; ?>
	    <?php if ($address) { ?><br /><?php echo $address; ?><?php } ?></td>
          </tr>
        </table>
      </div>
      <div class="c">
        <table>
          <?php if ($telephone) { ?>
          <tr>
            <td align="right"><b><?php echo $text_telephone; ?></b></td>
            <td><?php echo $telephone; ?></td>
          </tr>
	  <?php } ?>
          <?php if ($fax) { ?>
          <tr>
            <td align="right"><b><?php echo $text_fax; ?></b></td>
            <td><?php echo $fax; ?></td>
          </tr>
          <?php } ?>
        </table>
      </div>
    </div>
    <div class="d">
      <table>
        <tr>
          <td><?php echo $entry_name; ?></td>
        </tr>
        <tr>
          <td><input type="text" name="name" value="<?php echo $name; ?>" />
            <?php if ($error_name) { ?>
            <span class="error"><?php echo $error_name; ?></span>
            <?php } ?></td>
        </tr>
        <tr>
          <td><?php echo $entry_email; ?></td>
        </tr>
        <tr>
          <td><input type="text" name="email" value="<?php echo $email; ?>" />
            <?php if ($error_email) { ?>
            <span class="error"><?php echo $error_email; ?></span>
            <?php } ?></td>
        </tr>
        <tr>
          <td><?php echo $entry_enquiry; ?></td>
        </tr>
        <tr>
          <td><textarea name="enquiry"><?php echo $enquiry; ?></textarea>
            <?php if ($error_enquiry) { ?>
            <span class="error"><?php echo $error_enquiry; ?></span>
            <?php } ?></td>
        </tr>
      </table>
    </div>
  </div>
  <div class="buttons">
    <table>
      <tr>
        <td align="right"><input class="button_continue" type="submit" value="<?php echo $button_continue; ?>" /></td>
      </tr>
    </table>
  </div>
</form>
